﻿namespace SmartCity.Shared
{
    /// <summary>
    /// 禁止输出结果
    /// </summary>
    public class ForbiddenResponse : ActionResponse<ForbiddenResponse>
    {
        /// <summary>
        /// 禁止访问
        /// </summary>
        /// <param name="msg"></param>
        public static ForbiddenResponse Forbidden(string msg = null)
        {
            return Failed(ResponseCode.禁止访问, msg ?? "禁止访问");
        }
    }
}